from flask import Flask
from keyWords import sentence_filter, read_sentence
import jieba
import re

app = Flask(__name__)



@app.route('/examine')
def examine():
    rex = sentence_filter(read_sentence())
    if rex != None:
        return 'Ture'
    else:
        return 'False'


if __name__ == '__main__':
    app.run(debug=True)
